@layout("/common/head.html"){
<body>
<form id="myform" class="layui-form" style="padding-top:20px">
    <input type="hidden" id="id" name="id" value="${student.id!}"/>
    <#input inputName="姓名" id="name" value="${student.name!}" required="required"/>
    <#input inputName="年龄" id="age" type="number" value="${student.age!}" required="required"/>
    <#time timeName="注册日期" id="ctime" name="ctime" value="${student.ctime!}" required="required"/>
    
    <#select selectName="班级" id="clazzId" value="${student.clazzId!}" list="${clazzList}" optionName="name" optionValue="id" required="required"/>
    
</form>
</body>
<script>
layui.use(['form']);
</script>
@}